package com.bonuo.crm.mapper;

import com.bonuo.crm.domain.Faculty;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FacultyMapper {
    List<Faculty> selectFacultyList(Faculty faculty);

    Integer insertFaculty(Faculty faculty);

    Integer deleteFacultyById(Integer id);

    Integer updateFaculty(Faculty faculty);

    Integer selectFacultyByClientId(Integer id);

    Integer selectFacultyByClientNameAndFacultyName(@Param("clientId") Integer clientId, @Param("facultyName") String facultyName);
}
